package com.iven.xie.designpattern.chainofresponsibility.logger;

/**
 * 扩展该记录器类的实体类
 *
 * @author xiezhendong
 * @date 2021/8/3
 */
public class ConsoleLogger extends AbstractLogger {

    public ConsoleLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Standard Console::Logger: " + message);
    }
}
